
Component({
 
  properties: {
    items: Array,
    activeIndex: Number
  },

  methods: {
    tapItem: function(e) {
      var index = e.currentTarget.dataset.index;
      this.triggerEvent('change', {index})
    }
  }
  
})
